<?php
	$cond = '';
	if(isset($_GET['relobs'])) {
		$_GET['relobs'] = req_form($_GET['relobs']);
		$cond = ', uniRelObs = "'.$_GET['relobs'].'"';}
	if($GLOBALS['MYT']->db_query("UPDATE unionclientesbeneficiarios 
			SET uniRelation = {$_GET['rel']} 
			{$cond}
			WHERE uniCliente = {$_GET['rel1']} AND uniBeneficiario = {$_GET['rel2']}")==true) {
	echo '<img src="Shared/Graphics/icon_accept.gif" />';
	}